Fluid Level Determination Apparatus and Method of Determining a Fluid Level in a Hydrocarbon Well

ABSTRACT

A system for matching the hydrocarbon reservoir inflow with the outflow of an artificial lift system utilizes an apparatus which makes real time fluid level determinations based upon shock waves detected by a surface device and inputs the observed fluid levels into a processor which controls the speed of a motor which operates a subsurface pump, so as to increase hydrocarbon production. The apparatus which makes real time fluid determinations is installed such that a gas emission port and a pressure wave pressure wave receiving port are placed within the tubing-casing annulus.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to the determination of the fluid level inthe tubing-casing annulus of an oil well, gas well, or water well on areal time basis utilizing equipment which may be located at or near theground surface. The present invention provides for the rapid, accurate,and relatively easy determination of the fluid level in thetubing-casing annulus through the imposition of a pressurewave—specifically a shock wave in contrast to the known systems whichutilize acoustic waves. Embodiments of the present invention may alsoprovide a history of the fluid levels and performance history of theartificial lift equipment. The present invention further provides thenecessary input for a motor control means, such as motor starter orvariable frequency controller connected to an electrical motor operatingan artificial lift system or pumping system, to achieve and maintain theoptimal production rate for an oil well or the injection rate of a waterinjection well. The integration of a real-time fluid level detectiondevice together with a motor control means, such as a variable frequencycontroller, allows the optimization of well bore inflow with the welloutflow provided by the artificial lift system, such that the outflowprovided by the artificial lift equipment efficiently corresponds to theinflow of the reservoir.

2. Description of Practices in the Art

It is known that fluids are replenished into a particular well bore atdifferent rates even in the same formation or well field. Suchreplenishment is impacted by, among other things, the section (i.e.,length) of reservoir exposed to perforations or slots, any formationdamage adjacent to the well bore, and/or the extent of reservoirheterogeneities adjacent to the well bore. Moreover, fluid replenishmentinto a particular well bore may change over time as a result of changesin reservoir properties resulting from cumulative production,stimulation or reservoir management practices, such as pressuremaintenance. When a fluid reservoir is initially produced, there may besufficient reservoir energy to produce the fluids to the ground surface,i.e., the pressure of the fluid reservoir is greater than thehydrostatic pressure exerted by a fluid column which extends from theground surface to the depth of the reservoir. However, particularly inthe case of solution gas drive reservoirs, the reservoir energy usuallydecreases as the reservoir is depleted to where the reservoir pressureis eventually less than the hydrostatic pressure exerted by a columnproduced fluid within the well bore.

When the reservoir energy is not sufficient for the reservoir fluids toflow to the surface some form of artificial lift system is required.Such artificial lift systems typically utilize some type of subsurfacepump which is installed at the approximate depth of the producingreservoir. These artificial lift systems include positive displacementpumps, centrifugal pumps, jet pumps, piston pumps, and progressivecavity pumps.

One commonly known artificial lift system utilizes a plurality of rodsconnected in an end-to-end configuration forming a “rod string.” The rodstring is set inside a plurality of tubing joints which are likewiseconnected in an end-to-end configuration forming the “tubing string,”with the reservoir fluids primarily produced up the tubing string in theannulus between the rod string and the tubing string. The rod string isutilized to operate a pump set at the bottom of the tubing string. Themost commonly used subsurface pump is a positive displacement pumphaving a plunger which reciprocates up and down within a barrel, wherethe plunger is connected to the rod string and the rod string isreciprocated by a pumping unit set at the ground surface. Another typeof subsurface pump, a progressive cavity pump, has a rotor which isrotated within a stator by the rod string, where the rod string isrotated at the ground surface by an electrical motor coupled to a gearreducer. Electric submersible pumps are also used, where the motor islocated downhole and typically coupled directly to a centrifugal pump.In piston pump installations, a surface pump injects a power fluid intothe well which operates a down hole piston pump. In jet pump operations,a surface pump injects a power fluid which flows through a downholeventuri to create the required lift to produce the reservoir fluids.

The starting and stopping of each of the above-described pump systemsmay be controlled by a signal provided to the motor starter of eachprime mover operating the downhole pump, such that the pump capacity issimply adjusted by controlling the run time of the downhole pump, whichis done with systems which run on timers. Another means of adjusting thecapacities of each of these artificial lift systems is by adjusting thepump speed by adjusting the speed of the motor operating the pump.Controlling the motor speed may be accomplished by utilizing a variablefrequency drive.

With each subsurface pumping system, a dynamic equilibrium is reachedwhere the inflow rate of the reservoir fluids and the outflow rate ofthe fluids generated by the artificial lift system are essentiallyequivalent (excepting free gas which is not produced by the subsurfacepumping system but rather produced as a separate phase, typicallythrough the casing-tubing annulus). However, the inflow rate from thereservoir into the well bore will be impacted by any backpressuremaintained on the reservoir inside the wellbore. Such backpressureresults from any fluid column in the wellbore above the producing zone,in combination with any pressure applied at the surface at thecasing-tubing annulus, such as any pressure imposed by a gas collectionsystem.

Ideally, the backpressure applied at the surface and the fluid levelwithin the tubing-casing annulus are each maintained at minimal levels,which maximizes the pressure differential from the reservoir into thewell bore. Maximizing this pressure differential, in turn, maximizesfluid flow or inflow into the well bore. However, achieving this maximuminflow requires a corresponding matching outflow produced by theartificial lift system to reach a dynamic equilibrium. In other words,to achieve maximum production from a well, the well outflow rategenerated by the artificial lift system must match the maximum inflowrate produced from the reservoir to minimize the backpressure exerted byany fluid column standing within the well bore above the producing zone.

The preceding discussion suggests that to maximize production, thesubsurface pump should be run so as to keep the level in the well boreas low as possible. However, this option may be less than ideal becauseif the outflow produced by the artificial lift equipment exceeds theinflow, i.e., the pumping rate of the artificial lift equipment exceedsthe rate of flow into the wellbore from the reservoir, several negativeresults may occur. First, running the pump constantly or at too great aspeed may be inefficient because, at times, the well may be “pumped off”leaving little fluid in the well bore to be pumped, resulting in wastedenergy. Second, running pumping equipment when a well is in a pumped offcondition can damage the equipment, resulting in costly repairs. Third,paraffin build up is more pronounced when a well is allowed to pump dry.In a pumped off condition gases are drawn into the well bore, whichexpand and cool. As the gases cool, paraffin build up is promoted as thehydrocarbons begin to plate out on the surfaces of the well bore.

Achieving equilibrium between inflow and outflow is further complicatedby changing conditions within the reservoir, which result in changes ininflow performance. Such changes may result from, among other things,the initiation or suspension of a reservoir pressure maintenance programutilizing either gas or water injection, stimulating the well to removereservoir damage near the well bore, or stimulating injection wells toincrease injection rates. The reservoir conditions may also be impactedby the addition of new wells producing from the reservoir or changingproduction rates in existing wells which produce from the samereservoir. Thus, matching inflow performance of the reservoir with theoutflow of the artificial lift system can present a moving target and anartificial lift system which maintains a constant outflow is not apreferred solution for a well subject to changes in its inflowperformance.

A variety of methods are known for adjusting the outflow performance ofan artificial lift system in accord with the inflow performance. Systemswhich utilize reciprocating rod pumps may have adjustments made to theoutflow performance by changing the speed of rod reciprocation, changingthe length of the pump stroke, or changing the diameter of thesubsurface pump. Changing pumping speed and pump stroke for rod pumpedwells usually can be accomplished by making adjustments in surfaceequipment, however changing the pump diameter requires pulling the rodstring, pump, and often the tubing string. Changing the speed of rodreciprocation can be done by causing the surface pumping unit to runfaster by either changing the sheave size between the prime mover andgear box, or by changing the operational speed of the pumping unitmotor. Changing the sheave size requires the shutting down of thepumping unit and can be an involved process requiring a constructioncrew. Likewise, stroke adjustments may be made at the surface so long asthe subsurface pump has sufficient length to accommodate any increasesin stroke length. Stroke length changes also normally require theservices of a construction crew and the shutting down of the pumpingunit.

Changing the operational speed of the motor may be accomplished throughthe use of a variable speed drive unit, or variable frequency drive(“VFD”). If a VFD is combined with a processing unit, various inputparameters, including observed fluid levels, may be utilized to arriveat a pumping speed, and thus a particular outflow capacity, which is indynamic equilibrium with the reservoir inflow performance. Such systemsmay be used not only with reciprocating rod pumps, but also withrod-operated progressive cavity pumps, downhole submersible pumps andother pumps which are operated by electric motors.

U.S. Pat. No. 6,085,836, invented by, among others, D. R. Hill, one ofthe present inventors, proposed an initial solution to the problem ofreaching dynamic equilibrium between reservoir inflow performance andthe outflow performance of the artificial lift equipment. The '836patent is incorporated herein by reference. The '836 patent discloses amethod of determining the well fluid level for purposes of adjusting thesubsurface pumping time, including controlling pumping time with timers.It is known to use timers to control the pump duty cycle. A timer may beprogrammed to run the well nearly perfectly if one could determine theduration of the on cycle and off cycle which maintains a dynamicequilibrium between the inflow to the well bore and the outflowgenerated by the artificial lift equipment.

If real time fluid level information can be obtained, deciding when orhow fast to run the pump is relatively straightforward and productioncan be optimized. Real time fluid level determinations, particularly fordeep well systems, have been realized by the implementation of downholeinstrumentation such as load cells, transducers or similar devices whichacquire downhole pressures (thus fluid levels) and transmit theinformation to the surface via various means. Unfortunately, these realtime downhole systems may be costly and complex to install, unreliablein operation, and costly to repair or service, typically requiring theremoval of the rods and production tubing with a production rig orwork-over unit. Although the implementation details will not bediscussed here, it is worth noting that these systems, when operatingcorrectly, have proven that significant gains in well production areavailable when control strategies applying real time fluid levelmeasurement are utilized.

As an alternative to systems which measure downhole pressure withdownhole devices, are those systems which utilize acoustic energy toascertain the depth of the fluid level by generating an acoustic wave atthe surface and detecting the return signal to calculate the depth tofluid. One such system uses a one-shot measurement. The one-shotmeasurement will use a sonic event, such as firing a shotgun shell, togenerate the acoustic signal. Another system utilizes charges from anitrogen tank to generate sonic events. However, in either of theforegoing systems the production of the well must usually be shut downbefore initiating the sonic event and monitoring the correspondingreturn signals.

As an alternative to the one-shot measurement systems are those whichare programmed to provide periodic acoustic signals, and which do sowhile the surface equipment is in operation. Such a system is describedin U.S. Pat. No. 8,281,853, of which an inventor of the presentinvention, D. R. Hill, is an inventor. The system of the '853 patent mayutilize produced gas from the well to generate the acoustic signal.These systems have provided a good solution for optimizing wellproduction by real time adjustment of the well outflow in accord withchanges in flow into the wellbore.

Improved accuracy in the fluid level measurement provides greatadvantage in matching the outflow of the artificial lift equipment withthe reservoir inflow. Moreover, greater accuracy in a series of fluidlevel determinations combined with other monitored productionparameters, such as real time production rates, flowing pressures andtemperatures, etc., allows greater accuracy in determining otheroperational parameters such as determination of real time fluiddensities, or ascertaining with greater accuracy the real time impact onone well as a result of changes in the production/injection rates ofadjacent wells. Such information may be utilized efficient reservoirmanagement, where the production rates and injection rates in aparticular reservoir may be optimized according to the observedparameters by utilizing motor controllers, such as variable frequencydrives on artificial lift equipment and injection pumps. However, oneobstacle to obtaining accurate readings is the presence of noise in thewell caused by the mechanical operation of the well equipment and by thevarious noises produced by the flow of fluids, and sometimes sand, intothe wellbore.

SUMMARY OF THE INVENTION

The present invention does not require downhole instrumentation formaking a series of precise operational fluid levels, and thus does notpresent the complexities in installation and maintenance presented bysuch systems. With respect to the known systems which utilize acousticwaves at the surface, the present invention utilizes shock waves for thefluid level determination. The use of shock waves combined with thedisclosed pressure sensor and signal processing logic provide a muchmore favorable signal-to-noise ratio, thereby allowing for accuratefluid level determinations even with significant operational noise fromthe well. The use of shock waves permits continuous operation of thewell as the shock waves are generated, the data collected, the wellconditions ascertained, and the changes in outflow implemented,typically by changing the speed of the motor operating the pump.

A shock wave is a strong pressure wave in an elastic medium such as air,water, or a solid substance, produced by a variety of means, includingsupersonic aircraft, explosions, lightning, or other phenomena thatcreate violent changes in pressure. Shock waves are different from soundwaves. With shock waves, compression takes place in the wave front. Thewave front is a region of sudden and violent change in stress, density,and temperature, such that the propagation of shock waves is differentfrom that of acoustic waves. In particular, shock waves travel fasterthan sound, and their speed increases as the amplitude is raised.However, the intensity of a shock wave also decreases faster than doesthat of a sound wave, because some of the energy of the shock wave isexpended to heat the medium in which it travels. The amplitude of astrong shock wave, as created in air by an explosion, decreases almostas the inverse square of the distance until the wave has become so weakthat it obeys the laws of acoustic waves. The waves protruding from ashock wave are confined to a cone that narrows as the speed of thesource increases and the waves bunch up, creating high-pressure regionsoutside the compressed waves. The border from inside to outside of thecone is the shock wave. The strength of a shock wave dissipates greatlywith distance, much more so than a regular wave, as heat and otherenergy are more quickly transferred into the surrounding environment.Once enough energy has dissipated, the shock wave will become a regularwave such as a sound wave.

The system of the present invention may utilize produced fluids from thewell to generate the shock waves, thus avoiding the need to replenishthe material and the cost such material which are otherwise utilized,such as nitrogen or gunpowder. The present invention does not requireopening of the well to the atmosphere as typically required for surfacedeployed units. The real time fluid level determinations provided byembodiments of the present invention in combination with the variablefrequency control of the motor operating the subsurface pump provides aproduction system which accomplishes the optimal production rate, wherethe reservoir inflow may be balanced with the artificial lift outflowwith the fluid level maintained at a level which provides maximum drawdown into the wellbore.

The real time fluid level detection means of the present inventionplaces the shock wave generating device and the shock wave detectionapparatus directly within the tubing-casing annulus rather than made uponto a pipe fitting as done by most devices. In one embodiment of thedevice, the shock wave generating device comprises a pressure transduceris in fluid communication with a compressor. These two components areconfigured such that, when used in combination with a valve, a charge ofcompressed gas is discharged into the tubing-casing annulus through agas emitting tubing to emit the shock wave.

The real time fluid level detection means also has a receiving tubewhich provides fluid communication between the tubing-casing annulus anda shock wave measurement device, where the shock wave measurement devicehas means for ascertaining a return signal from the shock wave generatedby the charge of compressed gas, wherein the return signal enables aprocessor to determine the well fluid level. The return shock wavesignal is detected and measured with a piezoelectric pressure sensorwhich is able detect very small changes in the amplitude of the receivedsignal.

The real time fluid level detection means may be automatically andperiodically activated to provide a nearly continuous determination ofthe fluid level in the tubing-casing annulus, thus providing a real timeindication of reservoir inflow.

Used in combination with the real time fluid level detection means, anartificial lift system has an outflow capacity which may be adjusted inaccord with the observed real time fluid level measurements, whichallows the inflow and outflow performance of the well to be optimizedfor producing the well at a flow rate which is efficient, reduces wearin the artificial lift system, and which may be coordinated on a fieldwide basis with other artificial lift units for effective reservoirmanagement. The adjustment is achieved by utilizing a variable frequencydrive unit with the electrical motor which operates the subsurface pump.The variable frequency drive unit has a user interface which allows foradjusting set points for depth to fluid level, or which allows forchanging the production rate with a manual control.

The user interface further provides various reservoir management tools,such as historical analysis of fluid levels, production rates, andsurface pressures for both the tubing and casing. When employed on afield wide basis, the data may be utilized to ascertain, among otherthings, the effectiveness of well stimulation programs, pressuremaintenance activities, and well spacing practices. When analyzedtogether with well maintenance records, the information may also beutilized for analyzing preventative maintenance, scheduling pumpchanges, and well diagnostics.

The present system allows for obtaining a record of the signal-to-noiseratio which may be utilized for diagnostic purposes, such as detectingchanges in mechanical condition of the well.

BRIEF DESCRIPTION OF THE DRAWINGS

The foregoing and other features of the present invention will becomeapparent to one skilled in the art to which the present inventionrelates upon consideration of the following description of the inventionwith reference to the accompanying drawings, wherein:

FIGS. 1A and 1B illustrate the differences between an acoustic wave anda shock wave.

FIGS. 2A and 2B show how a signal from a pressure sensor is filtered forshockwaves.

FIG. 3 graphically illustrates signal-to-noise ratio.

FIG. 4 schematically shows a wellhead installation showing thepositioning of the shock wave emission tubing and signal receivingtubing within the casing-tubing annulus of a well.

FIG. 5 schematically shows a plan view of a portion of the trayassembly.

FIG. 6 shows an end view of the tray assembly of FIG. 5.

FIG. 7 shows a side view of the portion of the tray assembly shown inFIG. 5.

FIG. 8 shows a detailed view of a tray assembly which may be utilizedfor disposing the shock wave emission tubing and signal receiving tubingwithin a wellhead assembly.

FIG. 9 schematically shows the shock wave generation apparatus.

FIG. 10 schematically shows a bottom view of an embodiment of the end ofa tray assembly, showing the terminating ends of the shock wave emissiontubing and signal receiving tubing which are disposed within thecasing-tubing annulus of a well.

FIG. 11 schematically shows a top view of the end of the tray assemblydepicted in FIG. 10.

FIG. 12 schematically shows one form of artificial lift system whichutilizes a surface pumping unit to operate a subsurface pump usingreciprocation of a sucker rod string within a tubing string.

FIG. 13 schematically shows another form of artificial lift system whichutilizes a surface unit to operate a progressive cavity pump usingrotation of a sucker rod string within a tubing string.

FIG. 14 shows an embodiment of the fluid level determination apparatusaccording to the present invention mounted to a wellhead.

FIG. 15 shows the opposite side of the fluid level determinationapparatus shown in FIG. 14.

FIG. 16 shows the fluid level determination apparatus shown in FIG. 14with the exterior cover removed.

FIG. 17 shows an alternative embodiment of the fluid level determinationapparatus with the exterior cover removed.

FIG. 18 shows motor controls which may be utilized in embodiments of theinvention.

FIG. 19 shows the insertion of an installment tool into an embodiment ofthe apparatus.

FIG. 20 shows a user interface for control of a variable frequency driveunit utilized with the present invention.

FIG. 21 schematically shows a plan view of a portion of an oil fieldwhich may utilize embodiments of the disclosed system for reservoirmanagement.

DETAILED DESCRIPTION OF THE INVENTION

In one embodiment, the fluid level determination mechanism utilizesproduced gas for generating an energy pulse, i.e., a shock wave andcomprises means for detecting a return signal. Utilizing the elapsedtime between the initial pulse and the detection of the return signal, aprocessor calculates the fluid level in the tubing-casing annulus 276.This cycle may be repeated as desired, up to three times per minute, tomonitor the relationship between the reservoir inflow and the outflowproduced by the artificial lift equipment or, without operating theartificial lift equipment, perform various diagnostic tests includinginterference testing or to conduct pressure build-up tests. In addition,the dynamic fluid level data may be provided to a digital network formonitoring or managing the hydrocarbon reservoir.

The disclosed technique measures sensor-to-fluid distance by emitting ahigh pressure shockwave into the well and measuring the time it takesfor that shockwave to travel down to the fluid surface and reflect backto the sensor head. The use of a shockwave, as opposed to an acousticwave, has two important implications.

The first advantage is that, unlike an acoustic wave, the shockwaveconsists of only a compressed region of gas, as illustrated in FIGS. 1 aand 1 b. This compressed region of gas is not followed by a rarefiedregion of gas, as is the case with acoustic waves. This distinctionmeans that the sensor detecting the reflected shockwave must onlyaccommodate a high-speed compressive force. In contrast to the currentlyused methods, the sensor does not need to recover quickly to then detecta high speed contracting force, as required when the detected signal isan acoustic wave. Consequently, the sensor's frequency response can besignificantly lower than acoustic frequencies while still reliablydetecting the shockwave. Having a pressure sensor with a frequencyresponse specifically tailored to shockwaves, as opposed to acousticwaves, allows the acoustic noise in the well to be more fully eliminatedfrom the acquired pressure signal.

Regarding the second advantage, shockwaves exhibit a transmission speedthat is greater than the speed of sound experienced by an acoustic wave.As a result, these supersonic pressure waves experience less signaldegradation per meter (or less dispersion) as they propagate down thewell until a depth is reached at which the amplitude of the shockwave isso attenuated that its transmission velocity approaches that of thespeed of sound for an acoustic wave, beyond which point the speed of theshockwave will be the same as the speed of sound. However, the overallsignal strength of the reflected pulse will be increased due to thesupersonic portion of the transmission. Likewise, the amplitude of thereflected pressure pulse will be larger. Perhaps more importantly, thepulse width of the reflected pulse will remain quite narrow. In general,the pulse of the reflected wave will approximate the shock front of ashockwave and can be approximated mathematically by the Friedlanderwaveform.

By tailoring the frequency response of the pressure sensor and filteringthe return signal such that only pulses resembling the Friedlandershockwave waveform, the differences between a shockwave and an acousticwave can be greatly magnified and exploited to effectively segregate areflected shockwave from a well's acoustic noise, which can besignificant for an actively producing well with the artificial liftequipment in operation.

Shockwaves are best detected using differential sensors to measurechanges in pressure rather than absolute pressures. These differentialsensors allow only the shock front of a shockwave to be detected andeffectively isolate the sensor from other slow-varying or staticpressure changes. A piezoelectric differential pressure sensor thatutilizes a special cut in the piezo crystal is specifically desired foruse with shockwaves because they produce a proportionally higher outputvoltage compared to standard X-cut compression crystals (such as mightbe found in low-resolution pressure sensors or microphones). A pressuresensor with a detection resolution of 10⁻⁵ psi over a +1 psi range istypical with these types of sensors. With the pressure waveform acquiredfrom a differential piezo pressure sensor, the signal is digitallyfiltered to remove all peaks that do not conform to the characteristicsof a shock front as illustrated by the comparison of FIGS. 2A and 2B.FIG. 2A depicts the acquired signal before being filtered for shockwavesand FIG. 2B depicts the signal after being filtered for shockwaves.

Once filtered, the only reflected peaks that will remain are truesurface reflections. Some low level of noise will also be present in thesignal that is characteristic of physical disturbances of the gas withinthe well (i.e. turbulence in the well fluid, surges of gas productionfrom the well, etc.). The ratio of the peak signal to the standarddeviation of the noise is defined as the signal-to-noise ratio (“SNR”),as illustrated in FIG. 3. When a peak has an SNR greater than ten, thepeak is considered to be well-defined and its echo time can be reliablyused to identify the location of the reflecting surface.

The SNR value measured during a fluid measurement can be a useful metricused for monitoring the health of a well. As a well becomes lessefficient, a greater amount of mechanical energy is lost within the welland results in greater pressure disturbances as measured by the pressuresensor utilized with the invention. This phenomena is evidenced by ahigher measured SNR over time. By measuring the change in SNR over time,the health of the well's mechanical condition can be monitored toprovide an early warning of damage or an indicator that maintenance isrequired.

The inventors herein have determined that an integrated circuitpiezoelectric pressure sensor, Model No. 106B52 available from PCBPiezotronics, Inc., is an acceptable pressure sensor for applicationwith the present invention. This pressure sensor is accelerationcompensated, wherein extra acceleration sensing crystals are integratedinto the pressure sensor to detect whole-body vibration of the sensor.This detected vibration is then subtracted from the sensor's output. Bydoing this, shaking and vibration caused by production equipment doesnot affect the sensor's output. This sensor also provides asignificantly higher signal-to-noise ratio than the sensors presently inuse for fluid level determinations.

The fluid level determination mechanism of the present inventionprovides a gas emitting tubing 256 and a signal receiving tubing 356,the ends of which are directly disposed in the tubing-casing annulus 276of a well with the openings in the ends in a downwardly facingorientation. As discussed below, the gas emitting tubing 256 and thesignal receiving tubing 356 may be conveyed in a tray 180 which slidesfrom a first position with the tubing ends, gas injection port 382 andpressure wave receiving port 402, on the outside of a block valve 320 toa second position with the gas injection port 382 and pressure wavereceiving port 402 directly disposed in the tubing-casing annulus 276 ina down hole oriented position as discussed below. Alternatively, gasemitting tubing 256 and the signal receiving tubing 356 may be otherwiseinstalled into the wellhead 258 such that the gas injection port 382 andpressure wave receiving port 402 are directly disposed in thetubing-casing annulus. Such installation may be configured throughtubing sections which are placed into the annulus by extending throughsuitable packoff assemblies configured within a wellhead component, suchas a tubing hanger.

FIG. 4 schematically depicts an embodiment of a fluid leveldetermination apparatus having signal emitting and receiving componentswhich may be inserted and retracted from the pressure confining portionsof wellhead 258. In this embodiment the components of the apparatuswhich emit the pressure wave and which receive the reflected pressurewave may be placed in position within the tubing-casing annulus byopening a valve and manipulating the signal emitting and receivingcomponents into position, maintaining pressure control of the well atall times.

As illustrated in FIG. 4, wellhead 258 provides a means of controllingflow from the well, which is lined with casing 260, which is typicallybut not necessarily landed within the wellhead as understood by thoseknowledgeable in the art. Suspended from wellhead 258 is a tubing string270 through which reservoir fluids are produced to the surface. In wellswith insufficient reservoir pressure to flow to the surface, oil andassociated fluids are primarily produced by artificial lift mechanismsthrough the interior 272 of tubing string 270. In oil wells, gas whichbreaks out of solution within the wellbore is typically produced withinthe tubing-casing annulus 276.

An insertion tool 10 as depicted in FIG. 19 may be utilized forinserting and retracting a carrier tray 180 such that the tubing guide210 may be disposed adjacent or into the tubing-casing annulus 276 whilecontinuing to maintain pressure control of the well. As discussed ingreater detail below, various components of the fluid leveldetermination mechanism may be initially set within a carrier tray 180which slides within a housing 202. Housing 202 is made up to secondoutlet 306 of the wellhead 258. The carrier tray 180 and housing 202 maybe attached as a unit to the second outlet 306 and the carrier traymanipulated forward from its stored position in the housing into anoperating position within the wellhead by pushing the tray forward withthe insertion tool 10. Likewise, when it is desired to retract thecarrier tray 180 completely into the housing 202, the insertion tool 10is re-inserted and its tip 82 locks on to a portion of the carrier tray.The insertion tool 10 is retracted, pulling the carrier tray 180 backinto the housing 202.

Referring now to FIGS. 5-7, the inside facing end of carrier tray 180 isdescribed. A tubing guide 210 is disposed at the inside facing end ofthe carrier tray 180, which is the end opposite from receiving piece190. A first channel 224 and a second channel 226 extend through tubingguide 210. First channel 224 and second channel 226 are aligned alongthe long axis of the carrier tray 180. The inside facing end of thecarrier tray 180 further comprises an opening 232, through which gasinjection port 382 and pressure wave receiving port 402 are disposed.When carrier tray 180 is placed within an operating position in wellhead258 gas injection port 382 and pressure wave receiving port 402 will bepositioned in the tubing-casing annulus 276, each which may have anopening positioned in a downhole facing orientation.

FIG. 8 provides a perspective view of a portion of an embodiment ofcarrier tray 180 showing portions of gas emitting tubing 256 and signalreceiving tubing 356 disposed within a carrier member 250. Carriermember 250 is configured to fit within a channel 186 of carrier tray180. The carrier member 250 permits gas injection port 382 at theterminus of gas emitting tubing 256 and pressure wave receiving port 402at the terminus of signal receiving tubing 356 to be positioned withinthe wellhead 258 in the proper orientation with respect to thetubing-casing annulus 276, while the opposite ends of the gas emittingtubing 256 and the signal receiving tubing 356 may be connected tocomponents as schematically depicted in FIG. 4. It is to be appreciatedthat carrier member 250 comprises a plurality of linked components whichare flexible and the position indicated within FIG. 8 is one possiblepositioning of the carrier member. Gas emitting tubing 256 and signalreceiving tubing 356 are likewise flexible and may be flexed in a mannercorresponding with that of carrier member 250, while the carrier memberguides and protects the gas emitting tubing and the signal receivingtubing as the carrier tray 180 is shifted within housing 202 andwellhead 258.

FIG. 9 schematically depicts the configuration of the gas emittingtubing 256 and signal receiving tubing 356 which are disposed withintake-off conduit 308, which is attached to housing 202, which in turn isattached to wellhead 258. FIG. 9 schematically shows how gas emittingtubing 256 and the signal receiving tubing 356 are connected to theexternal components of the fluid level measuring apparatus. The gasemitting tubing 256 is connected to compressor valve 282 which isconnected to pressure transducer 286 by a conduit 284 or via flowchannels through the various components, such as tank 288 depicted inFIG. 16. Pressure transducer 286 controls the pressure of a sample ofgas to be injected into well annulus 276 through gas emitting tubing256. The pressure transducer 286 is in fluid communication with acompressor 300 or with a pressurized source of gas, such as bottlednitrogen. When compressor 300 is utilized, the system may utilizeproduced gas from the well as described below.

The relationship of an embodiment of the invention with wellhead 258 isschematically shown in FIG. 4. A first outlet 290 may extend from oneside of the wellhead 258, with a valve 294 attached to provide access toannulus 276 for receiving production from the well or for introducingfluids into the annulus, such as kill fluid. Valve 294 is connected toproduction line 298 which may transport produced fluids to a desiredfacility, such as a metering station, gas separator, tank farm orpipeline.

Typically located on the opposite side of the wellhead 258 from firstoutlet 290 is second outlet 306. Takeoff conduit 308, a component of thepresent invention, is attached to second outlet 306, wherein the takeoffconduit 308 may receive produced casing gas from annulus 276. A producedgas line 310 extends from the takeoff conduit 308. As schematicallyshown in FIG. 9, filter apparatus 318 may be utilized to filter producedcasing gas received from produced gas line 310. Filter apparatus 318,which may be an inline filter, removes debris from the produced casinggas which would otherwise pass into compressor 300. Compressor 300 maybe used to compress produced casing gas which flows from annulus 276.While FIG. 9 schematically shows the produced casing gas flowing throughtakeoff conduit 308, it is to be appreciated that alternative pipingconfigurations may be utilized as known by those skilled in the art ofthe invention. FIGS. 13-17 provide perspective views of many of thecomponents schematically depicted in FIGS. 4 and 9.

Block valve 320 is typically attached to second outlet 306 to controlflow from the annulus 276, including regulating gas flow into takeoffconduit 308, and also allowing the well to be closed in. Block valve 320is configure to permit insertion of the other components of theinvention such as carrier tray 180, and portions of gas emitting tubing256 and signal receiving tubing 356 which may be disposed within carriermember 250. These components may be urged into a forward position byinsertion tool shaft 60 such that gas injection port 382 at the terminusof gas emitting tubing 256 and pressure wave receiving port 402 at theterminus of signal receiving tubing 356 are positioned adjacent toannulus 276. The gas injection port 382 and pressure wave receiving port402 may be placed in a downward facing orientation in annulus 276.

In the embodiment of the invention utilizing the retractable components,the gas emitting tubing 256 passes through first channel 224 in tubingguide 210, disposed at the end of the carrier tray 180, and into opening232. Compressed gas from the gas emitting tubing 256 may exit from gasinjection port 382 into the well annulus 276. Likewise, signal receivingtubing 356 extends through one of the openings in tubing guide 210 suchthat a pressure wave (which may transport produced gas) is receivedthrough pressure wave receiving port 402 and flows through signalreceiving tubing 356, which is in fluid communication with a pressuresensor 500, such as Model No. 106B52 available from PCB Piezotronics,Inc.

As discussed above, the gas injection port 382 and the pressure wavereceiving port 402 may be positioned in the wellhead such that they arefacing downward into annulus 276 between casing 260 and tubing 270. Theadvantage of having the gas injection port 382 and the pressure wavereceiving port 402 aimed directly downhole is to minimize any noise,disturbance or impeded flow which would otherwise occur by injecting thegas from any other location. This is in contrast to many surface fluidlevel measurement devices which make up to externally located valves onthe wellhead.

As part of the presently disclosed method of using the disclosedapparatus, the inventors herein have developed what they refer to asdual-pulse echo reflectometery (or D-PER). The D-PER method comprisessending two pressure pulses, separated by 100 msec, down a well insteadof the single pulse as currently practiced, thus creating a distinctivesignature to the induced pressure wave. With the D-PER method, areflection from a fluid surface shows up as a double spike in thedetected signal. This reflected signal is much easier to separate fromnoise in the well, thereby allowing fluid level determinations atgreater depths as well as handling the inherent background noise of thewell such as gas upflow and acoustic noise generated by the productionequipment. For example, with the known devices, a bubble of gas “burped”by the well appears as a fluid surface. However, with the D-PER method,the gas bubble would have to occur as a double “burp,” the two emissionsseparated by exactly 100 msec, to be interpreted as a fluid level. Inother words, in the D-PER method the induced signal has a distinctivesignature which is detected in the reflected wave form returned to thesurface. One acceptable mechanical configuration for applying the D-PERmethod would be to utilize a second tank 288 charged by a compressor300, where a second pressure transducer 286 operates a second compressorvalve 282, which is programmed to open exactly 100 msec after the firstcompressor valve 282 opens, thereby providing the nearly instantaneoussecond charge of gas into gas emitting tubing 256.

As schematically depicted in FIG. 4, an additional block valve 330 islocated at the opposite end of the takeoff conduit 308. An additionalpiping segment 340 may be attached to block valve 330, where the pipingsegment has a threads 344, which may have a standard well cap attached(not shown).

As schematically shown in FIG. 12, a subsurface pump 280 may be utilizedto artificially lift reservoir fluids produced from reservoir 400. Thesubsurface pump 280 may be actuated by a rod string 274 which isdisposed within tubing 270. The rod string 274 may operate subsurfacepump 280 by reciprocation. When operated by reciprocation, the rodstring 274 is connected to a pump plunger and actuates the plungerupwardly and downwardly by the action of a surface pumping unit 262,such as that depicted in FIG. 12, and pumps fluid into tubing 270.Alternatively, the rod string 274 may be rotated by a surface unit suchas that shown in FIG. 13 thereby actuating a progressive cavity pump 278by rotating a rotor within a stator. Other forms of artificial liftequipment may be utilized with the fluid level determination apparatus,including submersible pumps, hydraulic pumps and jet pumps. It is to beappreciated that because these artificial lift methods utilize a rodstring 274 which is either reciprocating or rotating within the tubing270, there can be significant background noise. However, the presentlydisclosed apparatus is capable of accurately determining the fluid levelin the well despite the presence of this background noise.

Moreover, because mechanical failures in the artificial lift system willgenerate different background noise, for example, an installation inwhich the pump plunger is “pounding” fluid will generate backgroundnoise different from a pump plunger which encounters a full barrel offluid, or, as another example, an installation in which the subsurfacepump is gas locked will produce a different sound than a normalproducing pump. In addition, fluid flow through holes in casing, whichholes may result from corrosion damage or mechanically induced damage,will generate noise. Thus, the presently disclosed system, by recordingand comparing relative signal-to-noise ratios, may be utilized as adiagnostic tool for the mechanical condition of the well.

The carrier member 250 carries and protects the length of the emissiontubing 256 as it extends from the compressor valve 282 on one end to theother end attached to the gas injection port 382. Likewise, the carriermember protects the length of the signal receiving tubing 356 as itextends from pressure sensor 500 to the pressure wave receiving port402. As suggested by the Figures, emission tubing 256 and signalreceiving tubing 356 must be sufficiently flexible to be manipulatedforward such that the portion of the carrier tray 180 having gasinjection port 382 and pressure wave receiving port 402 may pass throughthe opened block valve 320 and be positioned within wellhead 258 withthe gas injection port and pressure wave receiving port oriented to befacing downwardly within annulus 276.

After being inserted through the block valve 330, the insertion toolshaft 60 is attached to the carrier tray 180 by passing through firstchannel 194 and making contact with the back wall of receiving piece190. The insertion tool shaft 60 is then rotated 90 degrees such thatprojection 82 locks into receiving piece 190, which will have a channelfor receiving the projection. Once the insertion shaft has locked ontothe carrier tray 180, the insertion tool shaft 60 may be used to urgethe carrier tray forward to correctly position the gas injection port382 and pressure wave receiving port 402 as discussed above.

The insertion tool shaft 60 may then be disengaged by rotating theinsertion tool shaft to disengage projection 82 from receiving piece190. Once disengaged from carrier tray 180, insertion tool shaft 60 maybe withdrawn block valve 330 until the end with project 82 is insidebell 20 allowing the closing of block valve 330. Bell 20 may then beunscrewed from the threads 344 of additional pipe segment 340. Theinsertion tool 10 may be utilized for several wells rather than having asingle insertion tool 10 permanently connected to each well. For theservicing or removal of the components, the entire operation may bereversed. That is, the insertion tool 10 is connected to additional pipesegment 340 of a wellhead 258 and the block valve 330 is opened. Theinsertion tool shaft 60 is then engaged to the receiving piece 190 andthe carrier member 180 is then drawn in the direction of the additionalpipe segment 340 such that the carrier member 180 clears block valve 320and the block valve is closed. The insertion tool may further comprisedetachable handle 140, which is attached to one end of shaft 60. Shaft60 comprises a projection 82 which releasably attaches to releasingpiece 190 at the end of carrier tray 180.

Balancing Reservoir Inflow with the Outflow of the Artificial LiftEquipment

The apparatus described above provides a reliable and relativelyinexpensive means of acquiring real time fluid level information for aparticular well 502. When a number of wells 502, 504, 506, 508 producingfrom a single reservoir 400 are equipped with the apparatus, keyinformation for reservoir management becomes available. This informationallows reservoir engineers to make informed decisions regarding, amongother things, pressure maintenance utilizing injection wells 510, infillwell requirements, isolation of water zones, and target zones forincreased injection. This information is also helpful to productionengineers, allowing them, among other things, to properly sizeartificial lift equipment for a particular well, producing zone, orfield and to optimize the production facilities according to the demandsof the fluid output from the wells. One means of optimizing theartificial lift equipment is by utilizing motor control means on theprime mover 264 utilized to operate the subsurface pump or used tooperate injection pumps.

In a relatively simple application of motor control means, the primemover 264 operating the subsurface pump can be stopped and startedaccording to the observed real time fluid level. More complicatedapplications control the speed of the prime mover 264 so that theoutflow capacity of the artificial lift equipment is in dynamicequilibrium with the observed reservoir inflow. In most situations, thedesired equilibrium will occur when the fluid level is maintained at arelatively small distance above the subsurface pump 278, 280. Theoptimal fluid level above the subsurface pump 278, 280 will exertminimal back pressure against the face of the producing reservoir toincrease the inflow of reservoir fluids, but at a level which issufficiently high to prevent gas locking of the pump or fluid pound.

For electrical motors, the most common method of controlling the speedof the motor is with a variable frequency drive unit (“VFD”) 236, anexample of which is shown in FIG. 18 as mounted as part of the motorcontrols for an electrical prime mover 264. On a rod pumped unit 286,such as that shown in FIG. 12, VFD 236 allows an operator to specify theexact speed for the motor to run, which typically ranges from 1200 RPMdown to 240 RPM. The VFD 236 provides a number of known advantages tomanually controlling the speed of the pumping unit 262 by stopping andstarting the pumping unit or by changing the motor sheave size, whichboth require substantial dedications of manpower. Both manual controland time clock control require the pumping unit to be stopped, often forlong periods of time, which can result in sand flow into the wellbore,and mechanical stresses when the unit is restarted. In contrast, the VFD236 allows the pumping unit 262 to be run continuously which reducesmechanical stress on the pumping unit gearbox, rods, belts, etc. Slowingthe speed of the pumping unit 262 reduces power consumption and demandfactor. Similar advantages are present for using a VFD 236 with aprogressive cavity pump system as depicted in FIG. 13.

However, the combination of real time fluid level determination with thespeed control of a VFD 236 provides even greater advantages. Thepresently disclosed system combines the real time determination of thefluid level with means of near instantaneous control of the outflow ofthe artificial lift system, allowing the operator, by input into acontrol panel, to specify the desired fluid level to be maintained in aparticular well. Data provided from the above described real time fluidlevel determination apparatus is provided to a processor controlling theVFD 236. The sampling rate of the real time fluid level determinationapparatus may be adjusted to provide fluid level determinations asfrequently as every twenty seconds.

The fluid level determinations may be provided to a processorcontrolling the VFD 236. As result, the inflow and outflow performanceof the well can be optimized for producing the well at a flow rate whichis efficient, reduces wear in the artificial lift system, and which maybe coordinated on a field wide basis with other artificial lift unitsfor effective reservoir management.

The VFD may have a user interface 238 which allows the user to input adesired fluid level or to set the unit for a desired production rate.The user interface 238 may further comprise a rheostat control 240 whichallows the operator to make immediate changes to the pumping speed inaccord with the observed conditions. The user interface 238 may also beutilized to provide various reservoir management tools, such ashistorical analysis of fluid levels and production rates.

When employed on a field wide basis, such as depicted in the exampleprovided in FIG. 21, the data may be utilized to ascertain, among otherthings, the effectiveness of well stimulation programs, pressuremaintenance activities, and well spacing practices. When analyzedtogether with well maintenance records, the information may also beutilized for analyzing preventative maintenance, scheduling pumpchanges, and well diagnostics.

While the above is a description of various embodiments of the presentinvention, further modifications may be employed without departing fromthe spirit and scope of the present invention. Thus the scope of theinvention should not be limited according to these factors, butaccording to the following appended claims.

What is claimed is:
 1. An apparatus for determining the depth of acolumn of fluid within a casing of a well, the well comprising awellhead, a string of casing and a string of tubing concentricallydisposed within the casing wherein an annulus is defined between thetubing and the casing, the apparatus comprising: a gas emitting tubingdisposed in the annulus through which outlet a charge of compressed gasis released thereby creating a shock wave; a signal receiving tubehaving an inlet disposed in the annulus through which inlet a pressurewave is detected; a measurement device capable of detecting andmeasuring shock waves attached to the signal receiving tube, saidmeasurement device producing an output signal upon detecting apre-designated pressure wave amplitude; and processing means which, uponreceipt of the output signal, determines the depth to fluid in theannulus.
 2. The apparatus of claim 1 wherein the outlet of the gasemitting tubing is disposed in substantially downhole facing directionover the annulus.
 3. The apparatus of claim 1 wherein the inlet of thesignal receiving tube is disposed in substantially downhole facingdirection over the annulus.
 4. The apparatus of claim 1 wherein thecharge of compressed gas comprises a produced gas from the well.
 5. Theapparatus of claim 1 wherein the gas emitting tubing and the signalreceiving tube are substantially disposed within a carrier tray.
 6. Thesystem of claim 5 wherein the carrier tray is substantially containedwithin a housing attached to the wellhead, the carrier tray comprising afirst end and a second end.
 7. The system of claim 6 wherein the carriertray may be disposed within a plurality of positions within the housingranging from an extended position wherein the first end is disposedimmediately adjacent to the annulus to a retracted position wherein thefirst end is pulled back from the annulus.
 8. The system of claim 7wherein an insertion tool shaft may be removably attached to the carriertray and utilized to either move the carrier tray from the retractedposition to the extended position or from the extended position to theretracted position.
 9. In an oil well comprising a wellhead, a string ofcasing and a string of tubing concentrically disposed within the casingwherein an annulus is defined between the tubing and the casing, asystem allowing the balancing of the reservoir inflow performance of aproducing reservoir with the outflow performance of a subsurface pumpwhile maintaining the fluid level within the annulus at a desired levelcomprises: a real time fluid level determination apparatus comprising agas emitting tubing disposed in the annulus through which outlet acharge of compressed gas is released, a signal receiving tube having aninlet disposed in the annulus through which inlet a pressure wave isdetected, a shock wave measurement device attached to the signalreceiving tube, said shock wave measurement device producing an outputsignal upon detecting a pre-designated amplitude of the shock wave, andprocessing means which, upon receipt of the output signal, determinesthe depth to fluid in the annulus; an electrical motor which operatesthe subsurface pump; and means for controlling the rotational speed ofthe electrical motor, said means for controlling the rotational speed ofthe motor adjustable according to the desired fluid level.
 10. Thesystem of claim 9 wherein the outlet of the gas emitting tubing isdisposed in substantially downhole facing direction over the annulus.11. The system of claim 9 wherein the inlet of the receiving tubing isdisposed in substantially downhole facing direction over the annulus.12. The system of claim 9 wherein the charge of compressed gas comprisesa produced gas from the well.
 13. The system of claim 9 wherein the gasemitting tubing and the pressure wave receiving tube are substantiallydisposed within a carrier tray.
 14. The system of claim 13 wherein thecarrier tray is substantially contained within a housing attached to thewellhead, the carrier tray comprising a first end and a second end. 15.The system of claim 14 wherein the carrier tray may be disposed within aplurality of positions within the housing ranging from an extendedposition wherein the first end is disposed immediately adjacent to theannulus to a retracted position wherein the first end is pulled backfrom the annulus.
 16. The system of claim 15 wherein an insertion toolshaft may be removably attached to the carrier tray and utilized toeither move the carrier tray from the retracted position to the extendedposition or from the extended position to the retracted position.
 17. Inan oil field comprising at least a first oil producing well and a secondoil producing well producing from the same oil reservoir, each wellcomprising a wellhead, a string of casing and a string of tubingconcentrically disposed within the casing wherein an annulus is definedbetween the tubing and the casing, a system provides real time fluidlevel determinations within the annulus of each well and allows thefluid level within each oil well to be maintained at a desired distanceabove a subsurface pump within each well, the system comprising: a realtime fluid level determination apparatus comprising a gas emittingtubing disposed in the annulus through which outlet a charge ofcompressed gas is released, a signal receiving tube having an inletdisposed in the annulus through which inlet a pressure wave is detected,a shock wave measurement device attached to the signal receiving tube,said shock wave measurement device producing an output signal upondetecting a pre-designated amplitude of the shock wave, and processingmeans which, upon receipt of the output signal, determines the depth tofluid in the annulus. an electrical motor which operates the subsurfacepump in each oil producing well; and means for controlling therotational speed of each electrical motor, said means for controllingthe rotational speed of each motor adjustable according to the desiredfluid level in each well.
 18. A method for determining the depth of acolumn of fluid within a casing of a well, the well comprising awellhead, a string of casing and a string of tubing concentricallydisposed within the casing wherein an annulus is defined between thetubing and the casing, the method comprising: emitting a first charge ofcompressed gas into the annulus; emitting a second charge of compressedgas into the annulus separated by a time period of a half second orless; receiving a first reflected signal from the first charge ofcompressed gas with a pressure sensor; receiving a second reflectedsignal from the second charge of compress gas with the pressure sensor;and processing the first reflected signal and the second reflectedsignal to determine the depth to fluid in the annulus.